package com.quanfaqiang.demo1.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quanfaqiang.demo1.pojo.Task;

import java.util.List;

public interface TaskService {
    Page<Task> SelectAll(int currentPage, int pageSize);

    void DeleteId(Integer id);

    void deleteIds(List<Integer> ids);

    Task SelectId(Integer id);

    void Add(Task task);

    void update(Task task);

    Boolean selectTaskName(String name, Integer id);

    Task selectUuidNumber(Integer uuidNumber);

    Page<Task> serchTask(Integer uuidNumber, String name, Integer currentPage, Integer pageSize, String username, Integer number, String content);

    Boolean updateState(Integer id, boolean state);
}
